package com.dq.service.org;

import com.dq.controller.in.ServiceProjectQuery;
import com.dq.exception.customException.AdminException;
import com.dq.domain.service.ServiceProject;
import com.dq.vo.Vo;

import java.util.List;
import java.util.Map;

/**
 * @author cf
 *
 * 岗位逻辑
 *
 */
public interface ServiceProjectService {
    /**
     * 添加
     * @param serviceProject
     * @return
     * @throws AdminException
     */
    public ServiceProject save(ServiceProject serviceProject)  throws AdminException;

    /**
     *修改
     * @param serviceProject
     * @return
     * @throws AdminException
     */
    public ServiceProject update(ServiceProject serviceProject) throws AdminException;

    public List<ServiceProject> list(ServiceProjectQuery serviceProjectQuery) throws AdminException;
    public Long count(ServiceProjectQuery serviceProjectQuery) throws AdminException;

}
